import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/home'
import Lang from '@/views/changLang'
import Main from '@/views/main'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '主页',
      component: Home
    },
    {
    	path:'/lang',
    	name:'语言切换测试',
    	component:Lang
    },
    {
    	path:'/main',
    	name:'学生管理主页',
    	component:Main
    }
  ]
})
